package com.yunhe.policyfulfillment.policyful.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: AppealProcessingEfficiency
 * @Description:
 * @author: GongDaCheng
 * @Date: 10:37 2021/10/12
 */
@Data
@ApiModel("诉求处理时效对象")
public class AppealProcessingEfficiency implements Serializable {
    private static final long serialVersionUID = 8987948828810462734L;

    @ApiModelProperty("组织id")
    private Integer orgId;

    @ApiModelProperty("组织名称")
    private String orgName;

    @ApiModelProperty("月份")
    private String monthVal;

    /*@ApiModelProperty("提交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date submitTime;

    @ApiModelProperty("处理时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date handleTime;*/

    @ApiModelProperty("平均处理时效")
    private double averageHandleTime;
}
